package com.yifeng.repo.micro.service.server.mps;

import feign.Param;
import feign.RequestLine;
import next.fire.mps.api.CheckInService;
import next.fire.mps.api.model.CheckIn;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;
import java.util.Map;

@FeignClient(name = "mpsCheckInServiceClient", url = "${yfcloud.micro.service.mps.url}", path = "/fire-mps")
public interface CheckInServiceClient extends CheckInService {

    @Override
    @RequestLine("POST /CheckInService/listCheckIn")
    List<CheckIn> listCheckIn(@Param("merchantId") String merchantId, @Param("mpAppId") String mpAppId, @Param("msgData") Map msgData);
}
